home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / DEF / Convert / Freqs / freq-to-note < prev   
Text File  |  1998-10-23  |  377b  |  11 lines

  1. freq-to-note frequency &optional basenote
  2.  
  3. Converts frequency into the corresponding note and octave. If optional basenote is not supplied, frequency 1 corresponds c 0. Note that the frequency can be an integer, real number or rational number. All values must be greater or equal than 1. See note-to-freq.
  4.  
  5. (freq-to-note 1 '(c 5))
  6. --> (c 5)
  7.  
  8. (freq-to-note 1.05976)
  9. --> (c# 0)
  10.  
  11.